package team.you.change.util;

import java.util.List;

//用于封装返回的数据（编写格式 接口文档 layui的数据接口要求）
public class Result {
    private Integer code = 0; //状态码，默认成功为：0
    private String msg = "成功"; //消息
    private Integer count;//数据的总量
    private List data; //数据

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List getData() {
        return data;
    }

    public void setData(List data) {
        this.data = data;
    }
}
